Implement a Stack and Queue Using a List Data Type